package cn.edu.zzuli.nothinglink.service;

import cn.edu.zzuli.nothinglink.entity.Classes;
import cn.edu.zzuli.nothinglink.entity.R;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author suzyyy
 * @since 2021-04-08
 */
public interface ClassesService extends IService<Classes> {

    R createClass(Integer uId, JSONObject json);

    R listClassInfo(Integer uId, Integer type, Integer haveDeleted);

    R getClassInfo(Integer classId);

    R bindClassByURL(String url, Integer stuId);
}
